package certification.sections.session11.cap14;


public class BusinnesDelegate {

	private static BusinnesDelegate instance = new BusinnesDelegate();
	
	private BusinnesDelegate() {
	}
	
	public static BusinnesDelegate getInstance() {
		return instance;
	}
	
	public TransferObject getTransferObject() {
		TransferObject to = null;
		try {
			to = (TransferObject)ServiceLocator.getInstance().getObjectRemote("/to");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return to;
	}
	
}
